<template>
	<view class="icons">
		<views class="icons-item" v-for="(item,index) in iconlist">
			<image class="icons-img" :src="item.imgUrl" mode=""></image>
			<text class="">{{item.name}}</text>
		</views>

	</view>

</template>

<script setup>
	import { ref } from 'vue'
	import mock from '../../mock/mock.js'
	let iconlist = ref(mock.iconsList)
</script>

<style scoped>
	.icons {
		display: flex;
		flex-wrap: wrap;
	}

	.icons-item {
		width: 25%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding-top: 25rpx;
	}

	.icons-img {
		width: 110rpx;
		height: 110rpx;
		border-radius: 50%;
	}
</style>